package kr.hkit.Powerjava.chapter09.work;

public class Point {
	
	private int cx;
	private int cy;
	
	
	public Point(int x, int y) {
		super();
		this.cx = x;
		this.cy = y;
	}


	
	public void setX(int x) {
		this.cx = x;
	}



	public void setY(int y) {
		this.cy = y;
	}



	public int getX() {
		return cx;
	}



	public int getY() {
		return cy;
	}



	@Override
	public String toString() {
		return String.format("Point [cx=%s, cy=%s]", cx, cy);
	}



	
}
